﻿#region Using directives
using Microsoft.VisualStudio.TestTools.UnitTesting;

using System.Collections.Generic;

using Weazel.Gezel.Model;
using Weazel.Gezel.Model.Errors;
using Weazel.Math;
#endregion

namespace Weazel.Gezel.Parser.Test.Expressions
{
  [TestClass]
  public class TestParseFinishExpression
  {
    [TestMethod]
    public void TestParseFinishExpression1()
    {
      Tokenizer t = new Tokenizer("$finish");
      
      ParseFinishDirective.Parse(new Set<Token>(Token.Eof), t);

      // assert no errors
      Assert.AreEqual(0, t.Errors.Count);
    }
  }
}
